package jUnitTest;

import static org.junit.Assert.*;

import org.junit.Before;
import org.junit.Test;

import businessLogic.PromotionsBLService;
import businessLogic.PromotionsManage_Stub;

public class PromotionsBLServiceTest {
	
	private PromotionsBLService promotion;

	@Before
	public void setUp() throws Exception {
		promotion = new PromotionsManage_Stub();
	}

	@Test
	public void testLogin() {
		boolean result = promotion.login("0001", "0001");
		assertEquals(true, result);
	}

	@Test
	public void testSetDiscountCoupon() {
		promotion.setDiscountCoupon(null);
	}

	@Test
	public void testSetEquivalentCoupon() {
		promotion.setEquivalentCoupon(null);
	}

	@Test
	public void testSetCredit() {
		promotion.setCredit(null);
	}

}
